@extends('admin.layout.index')
@section('title', '查看文章')
@section('header', '查看文章')
@section('con')
<div class="result-wrap">
    <div class="result-content">
        <form action="/admin/zhuanlan/shield" method="post" id="myform" name="myform" enctype="multipart/form-data">
            <table class="insert-tab" width="100%">
                <tbody>
                @foreach($data as $k=>$v)
                    <tr>
                        <th><i class="require-red"></i>标题：</th>
                        <td>
                            <input readonly class="common-text required" id="title" name="title" size="50" value="{{$v->title}}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <th>作者：</th>
                        <td><input readonly class="common-text" name="author" size="50" value="{{$v->name}}" type="text"></td>
                    </tr>
                   
                    <tr>
                        <th>内容：</th>
                        <td><span readonly name="content" class="common-textarea" id="content" style="width: 98%;">{!! $v->content !!}</span></td>
                    </tr>
                    <tr>
                        <th></th>
                        <td>
                            <a class="btn btn-primary btn6 mr10" href="/admin/article/shield?id={{$v->id}}">{{(($v->astatus)==0)?'屏蔽':'取消屏蔽'}}</a>
                            <input class="btn btn6" onclick="history.go(-1)" value="返回" type="button">
                        </td>
                    </tr>
                @endforeach
                </tbody>
            </table>
        </form>
    </div>
</div>
@endsection
                                